<?php

class Dashbord_ChoixstatController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
    }

    public function choixstatAction()
    {
    	$this->view->title = "Statistiques";
    	 
    	$this->_helper->layout()->setLayout("gestdonneeslayout");
    	$semestre_time = new Application_Form_choixstat();
    	$this->view->semestre_time = $semestre_time;
    	$this->view->choixtime = $this->_request->getParam('choixtime');
    	echo  $this->_request->getParam('choixtime');
    	$this->view->formname = $this->_request->getParam('formname');
    	 
    }

    public function affichstatAction()
    {
        $this->_helper->layout()->disableLayout();
        //var_dump($this->_request->getParams());
        $this->view->time = $this->_request->getParam('choixtime');
        $this->view->formname = $this->_request->getParam('formname');
        //$this->view->time = $this->_request->getParam('time');
    }

    public function modifaffichstatAction()
    {
        $form = new Application_Form_modifaffichstat();
        $this->view->form = $form;
        $this->view->datedebut = $this->_request->getParam('debut');
    }


}





